<template>
  <MobileTerminalVue v-if="isMobileTerminal" />
  <PcTerminalVue v-else />
</template>

<script setup>
import { ref, reactive, toRefs, onMounted } from 'vue'
import { isMobileTerminal } from '@/utils/flexibal'
import MobileTerminalVue from './mobile/index.vue'
import PcTerminalVue from './pc/index.vue'
import { useStore } from 'vuex'
const store = useStore()

onMounted(() => {
  store.dispatch('category/getCategory')
})
</script>
<style scoped lang="scss"></style>
